/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;

namespace DaveSexton.DocProject
{
	public abstract class HelpSystem : MarshalByRefObject
	{
		#region Public Properties
		/// <summary>
		/// Gets all of the topics in the help system via the root topic.
		/// </summary>
		public abstract IEnumerable<HelpItem> Topics { get; }

		/// <summary>
		/// Gets all of the index items in the help system.
		/// </summary>
		public abstract IEnumerable<HelpItem> Index { get; }
		#endregion

		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="HelpSystem" /> class for derived types.
		/// </summary>
		protected HelpSystem()
		{
		}
		#endregion

		#region Methods
		[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.LinkDemand,
			Flags = System.Security.Permissions.SecurityPermissionFlag.Infrastructure)]
		public override object InitializeLifetimeService()
		{
			return null;
		}
		#endregion
	}
}
